package com.wlm.dao;

import com.wlm.dto.rep.UserQueryReqDto;
import com.wlm.entity.PgUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PgUserDAO {

    List<PgUser> findAll();

    boolean delete(String id);

    boolean save(PgUser pgUser);

    boolean update(PgUser pgUser);

    List<PgUser> selectByParam(@Param("req") UserQueryReqDto req);
}
